package com.pw.lit.service;

import com.pw.lit.bean.Message;
import com.pw.lit.bean.MessageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Message)表服务接口
 *
 * @author makejava
 * @since 2020-04-10 00:16:36
 */
public interface MessageService {

    int countByExample(MessageExample example);

    int deleteByExample(MessageExample example);

    int deleteByPrimaryKey(Integer mid);

    int insert(Message record);

    int insertSelective(Message record);

    List<Message> selectByExample(MessageExample example);

    Message selectByPrimaryKey(Integer mid);

    int updateByExampleSelective(@Param("record") Message record, @Param("example") MessageExample example);

    int updateByExample(@Param("record") Message record, @Param("example") MessageExample example);

    int updateByPrimaryKeySelective(Message record);

    int updateByPrimaryKey(Message record);

}